package com.rongmai.web.bo;

import com.rongmai.db.mapper.HotLinkMapper;
import com.rongmai.db.model.HotLink;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Slf4j
@Service
public class HotLinkBo {

    @Resource
    private HotLinkMapper hotLinkMapper;

    public List<HotLink> query(String role) {
        return hotLinkMapper.query(role);
    }
}
